//扫码模版
export const scanCode = {
	name: '',
	do: {
		data: '',
		command: 'speak',
		variables: [],
		variableId: ''
	},
	id: '',
	no: '',
	type: 'scanCode',
	after: {
		data: {
			data: {
				cmd: 'scan-code'
			},
			type: 'peer-cmd'
		},
		command: 'send-message',
		after: {
			command: 'receive-message'
		}
	},
	timeout: '',
	answer: [
		{
			do: {
				data: '',
				command: 'speak',
				variables: [],
				variableId: ''
			},
			key: ['ok'],
			after: {
				command: 'jump-to',
				no: '',
				id: ''
			},
			type: 'yes'
		},
		{
			do: {
				data: '',
				command: 'speak',
				variables: [],
				variableId: ''
			},
			key: ['reject', 'error', 'cancel'],
			after: {
				command: 'jump-to',
				no: '',
				id: ''
			},
			type: 'no'
		},
		{
			do: {
				data: '',
				command: 'speak',
				variables: [],
				variableId: ''
			},
			key: ['timeout'],
			after: {
				command: 'to-compare-answer',
				data: ''
			},
			type: 'other'
		}
	],
	errorRemind: {
		do: {
			data: '',
			command: 'speak',
			variables: [],
			variableId: ''
		},
		after: {
			command: 'jump-to',
			no: '',
			id: ''
		},
		maximum: 0,
		timeout: '',
		type: 'other'
	}
};
